package com.meilai.project.mapper.workflow;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meilai.project.entity.workflow.WFDataProcessing;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author 张驰
 * @date 2020/6/5 10:11
 */
@Mapper
public interface WFDataProcessingMapper extends BaseMapper<WFDataProcessing> {

    /**
     * 根据wf_data_id删除数据
     * @param wf_data_id    id
     * @return
     */
    @Delete("DELETE FROM wf_data_processing WHERE wf_data_id = #{wf_data_id} ")
    Integer deleteByWfDataId(Integer wf_data_id);
}
